import { ESJVector2D, ESJVector3D, ESJVector4D } from "./DataType"

export type ESJMaterialType = {
    baseColorFactor?: ESJVector4D,
    emissiveFactor?: ESJVector3D,
    metallicFactor?: number,
    roughnessFactor?: number,
    doubleSided?: boolean,
    unlit?: boolean,
    alphaMode?: "OPAQUE" | "MASK" | "BLEND",
    baseColorTexture?: {
        value?: "",
        offset?: ESJVector2D,
        scale?: ESJVector2D,
        rotate?: number
    },
    normalTexture?: {
        value?: "",
        offset?: ESJVector2D,
        scale?: ESJVector2D,
        rotate?: number
    },
    magFilter?: 'LINEAR' | 'NEAREST',
    minFilter?: 'LINEAR' | 'NEAREST' | 'NEAREST_MIPMAP_NEAREST' | 'LINEAR_MIPMAP_NEAREST' | 'NEAREST_MIPMAP_LINEAR' | 'LINEAR_MIPMAP_LINEAR',
};